package com.xqls.service.impl;


import com.xqls.dal.dao.FluggasDischargeMimRecordDao;
import com.xqls.dal.model.FluggasDischargeMimRecord;
import com.xqls.service.FluggasDischargeMimRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/7/17.
 */
@Service
public class FluggasDischargeMimRecordServiceImpl implements FluggasDischargeMimRecordService {
   @Autowired
    FluggasDischargeMimRecordDao recordDao;
    @Override
    public boolean insertList(List<FluggasDischargeMimRecord> fluggasminList) {
        return recordDao.insertList(fluggasminList);
    }

    @Override
    public int selectId() {
        return recordDao.selectId();
    }

    @Override
    public List<Map<String, Object>> selectminByMap(Map<String, Object> map) {
        return recordDao.selectminByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return recordDao.selectAll();
    }

    @Override
    public List<Map<String, Object>> selectHourByMap(Map<String, Object> map) {
        return recordDao.selectHourByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectDayByMap(Map<String, Object> map) {
        return recordDao.selectDayByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectMonthByMap(Map<String, Object> map) {
        return recordDao.selectMonthByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectYearByMap(Map<String, Object> map) {
        return recordDao.selectYearByMap(map);
    }
}
